package ynu.edu.order.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(description = "订单详情VO")
public class OrderDetailVO {
    @ApiModelProperty("订单详情id")
    private Long id;
    
    @ApiModelProperty("订单id")
    private Long orderId;
    
    @ApiModelProperty("商品id")
    private Long itemId;
    
    @ApiModelProperty("购买数量")
    private Integer num;
    
    @ApiModelProperty("商品标题")
    private String name;
    
    @ApiModelProperty("商品规格")
    private String spec;
    
    @ApiModelProperty("商品价格，单位：分")
    private Integer price;
    
    @ApiModelProperty("商品图片")
    private String image;
    
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
} 